package com.haoshuang.zhouzhoubang.model.bean


import androidx.annotation.Keep

/**
 * 商品详情的规格参数
 * @property goodsSpecs List<GoodsSpec?>?
 * @property table_data List<TableData?>?
 * @constructor
 */
@Keep
data class GoodsSpecBean(
    val goodsSpecs: List<GoodsSpec>?,
    val table_data: List<TableData>?
) {
    @Keep
    data class GoodsSpec(
        val attr: String?,
        val id: String?,
        val valueList: List<Value>?
    ) {
        @Keep
        data class Value(
            val id: String?,
            val specid: String?,
            val title: String?,
            var isChoose: Boolean? = false
        )
    }

    @Keep
    data class TableData(
        val id: String?,
        val market_price: String?,
        val product_price: String?
    )
}